home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
GXPrinting.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
27KB
|
791 lines
/*
File: GXPrinting.idl
Contains: This file contains all printing APIs except for driver/extension specific ones.
Version: Technology: Quickdraw GX 1.1
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __GXPRINTING_IDL__
#define __GXPRINTING_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __COLLECTIONS_IDL__
#include <Collections.idl>
#endif
#ifndef __CONDITIONALMACROS_IDL__
#include <ConditionalMacros.idl>
#endif
#ifndef __DIALOGS_IDL__
#include <Dialogs.idl>
#endif
#ifndef __ERRORS_IDL__
#include <Errors.idl>
#endif
#ifndef __FILES_IDL__
#include <Files.idl>
#endif
#ifndef __GXFONTS_IDL__
#include <GXFonts.idl>
#endif
#ifndef __GXMATH_IDL__
#include <GXMath.idl>
#endif
#ifndef __GXTYPES_IDL__
#include <GXTypes.idl>
#endif
#ifndef __LISTS_IDL__
#include <Lists.idl>
#endif
#ifndef __MENUS_IDL__
#include <Menus.idl>
#endif
#ifndef __GXMESSAGES_IDL__
#include <GXMessages.idl>
#endif
#ifndef __PRINTING_IDL__
#include <Printing.idl>
#endif
#ifndef __QUICKDRAW_IDL__
#include <Quickdraw.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/*
*******************************************************************
Start of old "GXPrintingManager.h/a/p" interface file.
********************************************************************
*/
/*
------------------------------------------------------------------------------
Printing Manager API Contants and Types
--------------------------------------------------------------------------------
*/
/* QuickDraw GX Printing Manager & Overall GX Gestalt Selectors */
typedef unsigned long gxOwnerSignature;
#if OLDROUTINENAMES
typedef unsigned long Signature;
#endif
/*
ABSTRACT DATA TYPES
*/
/*
typedef struct gxPrivatePrinterRecord *gxPrinter;
typedef struct gxPrivateJobRecord *gxJob;
typedef struct gxPrivateFormatRecord *gxFormat;
typedef struct gxPrivatePaperTypeRecord *gxPaperType;
typedef struct gxPrivatePrintFileRecord *gxPrintFile;
*/
typedef OpaquePtr gxPrinter;
typedef OpaquePtr gxJob;
typedef OpaquePtr gxFormat;
typedef OpaquePtr gxPaperType;
typedef OpaquePtr gxPrintFile;
/* Possible values for LoopStatus */
typedef boolean gxLoopStatus;
typedef OpaquePtr GXViewDeviceProcPtr;
typedef OpaquePtr GXViewDeviceUPP;
typedef OpaquePtr GXFormatProcPtr;
typedef OpaquePtr GXFormatUPP;
typedef OpaquePtr GXPaperTypeProcPtr;
typedef OpaquePtr GXPaperTypeUPP;
typedef OpaquePtr GXPrintingFlattenProcPtr;
typedef OpaquePtr GXPrintingFlattenUPP;
#if OLDROUTINENAMES
typedef GXViewDeviceProcPtr gxViewDeviceProc;
typedef GXFormatProcPtr gxFormatProc;
typedef GXPaperTypeProcPtr gxPaperTypeProc;
typedef GXPrintingFlattenProcPtr gxPrintingFlattenProc;
#endif
/*
The following constants are used to set collection item flags in printing
collections. The Printing Manager purges certain items whenever a driver
switch occurs. If the formatting driver changes, all items marked as
gxVolatileFormattingDriverCategory will be purged. If the output driver
changes, all items marked as gxVolatileOutputDriverCategory will be purged.
Note that to prevent items from being flattened when GXFlattenJob is called,
you should unset the collectionPersistenceBit (defined in Collections.h),
which is on by default.
*/
/* Structure stored in collection items' user attribute bits */
typedef short gxCollectionCategory;
/*
>>>>>> JOB COLLECTION ITEMS <<<<<<
*/
/* gxJobInfo COLLECTION ITEM */
typedef SOMLargeStruct gxJobInfo; /* Derived from a struct of 118 bytes in size */
/* gxPDDDefaultSettingTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxPDDDefaultSettingInfo; /* Derived from a struct of 2 bytes in size */
/* priority field constants */
/* jobAlert field constants */
/* jobTimeout field constants */
/* gxCollationTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxCollationInfo; /* Derived from a struct of 2 bytes in size */
/* gxCopiesTag COLLECTION ITEM */
typedef SOMFourByteStruct gxCopiesInfo; /* Derived from a struct of 4 bytes in size */
/* gxPageRangeTag COLLECTION ITEM */
typedef SOMLargeStruct gxSimplePageRangeInfo; /* Derived from a struct of 10 bytes in size */
typedef SOMLargeStruct gxPageRangeInfo; /* Derived from a struct of 83 bytes in size */
/* optionChosen field constants for SimplePageRangeInfo */
/* gxQualityTag COLLECTION ITEM */
typedef SOMLargeStruct gxQualityInfo; /* Derived from a struct of 9 bytes in size */
/* gxFileDestinationTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxFileDestinationInfo; /* Derived from a struct of 2 bytes in size */
/* gxFileLocationTag COLLECTION ITEM */
typedef SOMLargeStruct gxFileLocationInfo; /* Derived from a struct of 70 bytes in size */
/* gxFileFormatTag COLLECTION ITEM */
typedef SOMLargeStruct gxFileFormatInfo; /* Derived from a struct of 32 bytes in size */
/* gxFileFontsTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxFileFontsInfo; /* Derived from a struct of 2 bytes in size */
/* includeFonts field constants */
/* gxPaperFeedTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxPaperFeedInfo; /* Derived from a struct of 2 bytes in size */
/* gxTrayFeedTag COLLECTION ITEM */
typedef long gxTrayIndex;
typedef SOMLargeStruct gxTrayFeedInfo; /* Derived from a struct of 6 bytes in size */
/* gxManualFeedTag COLLECTION ITEM */
typedef SOMLargeStruct gxManualFeedInfo; /* Derived from a struct of 36 bytes in size */
/* gxNormalMappingTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxNormalMappingInfo; /* Derived from a struct of 2 bytes in size */
/* gxSpecialMappingTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxSpecialMappingInfo; /* Derived from a struct of 2 bytes in size */
/* specialMapping field constants */
/* gxTrayMappingTag COLLECTION ITEM */
typedef SOMFourByteStruct gxTrayMappingInfo; /* Derived from a struct of 4 bytes in size */
/* gxPaperMappingTag COLLECTION ITEM */
/* This collection item contains a flattened paper type resource */
/* gxPrintPanelTag COLLECTION ITEM */
typedef SOMLargeStruct gxPrintPanelInfo; /* Derived from a struct of 32 bytes in size */
/* gxFormatPanelTag COLLECTION ITEM */
typedef SOMLargeStruct gxFormatPanelInfo; /* Derived from a struct of 32 bytes in size */
/* gxTranslatedDocumentTag COLLECTION ITEM */
typedef SOMFourByteStruct gxTranslatedDocumentInfo; /* Derived from a struct of 4 bytes in size */
/* gxCoverPageTag COLLECTION ITEM */
typedef SOMFourByteStruct gxCoverPageInfo; /* Derived from a struct of 4 bytes in size */
/*
>>>>>> FORMAT COLLECTION ITEMS <<<<<<
*/
/* gxPaperTypeLockTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxPaperTypeLockInfo; /* Derived from a struct of 2 bytes in size */
/* gxOrientationTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxOrientationInfo; /* Derived from a struct of 2 bytes in size */
/* orientation field constants */
/* gxScalingTag COLLECTION ITEM */
typedef SOMLargeStruct gxScalingInfo; /* Derived from a struct of 12 bytes in size */
/* gxDirectModeTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxDirectModeInfo; /* Derived from a struct of 2 bytes in size */
/* gxFormatHalftoneTag COLLECTION ITEM */
typedef SOMLargeStruct gxFormatHalftoneInfo; /* Derived from a struct of 56 bytes in size */
/* gxInvertPageTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxInvertPageInfo; /* Derived from a struct of 2 bytes in size */
/* gxFlipPageHorizontalTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxFlipPageHorizontalInfo; /* Derived from a struct of 2 bytes in size */
/* gxFlipPageVerticalTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxFlipPageVerticalInfo; /* Derived from a struct of 2 bytes in size */
/* gxPreciseBitmapsTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxPreciseBitmapInfo; /* Derived from a struct of 2 bytes in size */
/*
>>>>>> PAPERTYPE COLLECTION ITEMS <<<<<<
*/
/* gxBaseTag COLLECTION ITEM */
typedef SOMFourByteStruct gxBaseInfo; /* Derived from a struct of 4 bytes in size */
/* baseType field constants */
/* gxCreatorTag COLLECTION ITEM */
typedef SOMFourByteStruct gxCreatorInfo; /* Derived from a struct of 4 bytes in size */
/* gxUnitsTag COLLECTION ITEM */
typedef SOMTwoByteStruct gxUnitsInfo; /* Derived from a struct of 2 bytes in size */
/* units field constants */
/* gxFlagsTag COLLECTION ITEM */
typedef SOMFourByteStruct gxFlagsInfo; /* Derived from a struct of 4 bytes in size */
/* flags field constants */
/* gxCommentTag COLLECTION ITEM */
typedef SOMLargeStruct gxCommentInfo; /* Derived from a struct of 256 bytes in size */
/*
>>>>>> PRINTER VIEWDEVICE TAGS <<<<<<
*/
/* gxPenTableTag COLLECTION ITEM */
typedef SOMLargeStruct gxPenTableEntry; /* Derived from a struct of 56 bytes in size */
typedef SOMLargeStruct gxPenTable; /* Derived from a struct of 60 bytes in size */
typedef OpaquePtr gxPenTablePtr; /* Substituted OpaquePtr for ``gxPenTable*'' */
typedef OpaquePtr gxPenTableHdl; /* Substituted OpaquePtr for ``gxPenTablePtr*'' */
/* penUnits field constants */
/* penPosition field constants */
/*
>>>>>> DIALOG-RELATED CONSTANTS AND TYPES <<<<<<
*/
typedef long gxDialogResult;
typedef SOMLargeStruct gxEditMenuRecord; /* Derived from a struct of 12 bytes in size */
/*
>>>>>> JOB FORMAT MODE CONSTANTS AND TYPES <<<<<<
*/
typedef OSType gxJobFormatMode;
typedef SOMLargeStruct gxJobFormatModeTable; /* Derived from a struct of 8 bytes in size */
typedef OpaquePtr gxJobFormatModeTablePtr; /* Substituted OpaquePtr for ``gxJobFormatModeTable*'' */
typedef OpaquePtr gxJobFormatModeTableHdl; /* Substituted OpaquePtr for ``gxJobFormatModeTablePtr*'' */
typedef long gxQueryType;
/* Structures used for Text mode field constants */
typedef SOMLargeStruct gxPositionConstraintTable; /* Derived from a struct of 24 bytes in size */
typedef OpaquePtr gxPositionConstraintTablePtr; /* Substituted OpaquePtr for ``gxPositionConstraintTable*'' */
typedef OpaquePtr gxPositionConstraintTableHdl; /* Substituted OpaquePtr for ``gxPositionConstraintTablePtr*'' */
/* numSizes field constants */
typedef SOMLargeStruct gxStyleNameTable; /* Derived from a struct of 260 bytes in size */
typedef OpaquePtr gxStyleNameTablePtr; /* Substituted OpaquePtr for ``gxStyleNameTable*'' */
typedef OpaquePtr gxStyleNameTableHdl; /* Substituted OpaquePtr for ``gxStyleNameTablePtr*'' */
typedef SOMLargeStruct gxFontTable; /* Derived from a struct of 8 bytes in size */
typedef OpaquePtr gxFontTablePtr; /* Substituted OpaquePtr for ``gxFontTable*'' */
typedef OpaquePtr gxFontTableHdl; /* Substituted OpaquePtr for ``gxFontTablePtr*'' */
/*
------------------------------------------------------------------------------
Printing Manager API Functions
--------------------------------------------------------------------------------
*/
/*
Global Routines
*/
/*
Error-Handling Routines
*/
/*
Job Routines
*/
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/*
Job Format Modes Routines
*/
/*
Format Routines
*/
/*
PaperType Routines
*/
/*
Printer Routines
*/
/*
Dialog Routines
*/
/*
Spooling Routines
*/
/*
PrintFile Routines
*/
/*
ColorSync Routines
*/
/*
***********************************************************************
Start of old "GXPrintingResEquates.h/a/p" interface file.
************************************************************************
*/
/*
------------------------------------
Basic client types
------------------------------------
*/
/* All pre-defined printing collection items have this ID */
/*
----------------------------------------------------------------------
Resource types and IDs used by both extension and driver writers
----------------------------------------------------------------------
*/
/* Resources in a printer driver or extension must be based off of these IDs */
/*
Override resources tell the system what messages a driver or extension
is overriding. A driver may have a series of these resources.
*/
/* Override resource type for 68k resource-based code:*/
/* Override resource type for PowerPC datafork-based code:*/
/*
--------------------------------------------------------------
Message ID definitions by both extension and driver writers
---------------------------------------------------------------
*/
/* Identifiers for universal message overrides. */
/* Identifiers for Quickdraw message overrides. */
/* Identifiers for raster imaging message overrides. */
/* Identifiers for PostScript imaging message overrides. */
/* Identifiers for Vector imaging message overrides. */
/* Dialog related resource types */
/* Communication resource types */
/*
The looker resource is used by the Chooser PACK to determine what kind
of communications this driver supports. (In order to generate/handle the
pop-up menu for "Connect via:".
The looker resource is also used by PrinterShare to determine the AppleTalk NBP Type
for servers created for this driver.
*/
/* The communications method and private data used to connect to the printer */
/*
-------------------------------------------------
Resource types and IDs used by extension writers
-------------------------------------------------
*/
/*
-----------------------------------------------
Resource types and IDs used by driver writers
-----------------------------------------------
*/
/* IMAGING RESOURCES */
/*
The imaging system resource specifies which imaging system a printer
driver wishes to use.
*/
/* 'exft' resource ID -- exclude font list */
/* Resource for type for color matching */
/* Resource type and id for the tray count */
/* Resource type for the tray names */
/* Resource type for manual feed preferences, stored in DTP. */
/* Resource type for desktop printer output characteristics, stored in DTP. */
/* IO Resources */
/* Resource type and ID for default IO and buffering resources */
/*
Resource types and IDs for default implementation of CaptureOutputDevice.
The default implementation of CaptureOutputDevice only handles PAP devices
*/
/* Resource type and ID for custom halftone matrix */
/* Resource type and ID for raster driver rendering preferences */
/* Resource type for specifiying a colorset */
/* Resource type and ID for raster driver packaging preferences */
/* Resource type and ID for raster driver packaging options */
/* Resource type for the PostScript imaging system procedure set control resource */
/* Resource type for the PostScript imaging system printer font resource */
/* Resource type and ID for the PostScript imaging system imaging preferences */
/* Resource type and ID for the PostScript imaging system default scanning code */
/* Old Application Support Resources */
/*
The default implementation of gxPrintDefault loads and
PrValidates a print record stored in the following driver resource.
*/
/*
-----------------------------------------------
Resource types and IDs used in papertype files
-----------------------------------------------
*/
/* Resource type and ID for driver papertypes placed in individual files */
/* Papertype creator types */
/*
********************************************************************
Start of old "GXPrintingMessages.h/a/p" interface file.
*********************************************************************
*/
/*
------------------------------------------------------------------------------
Constants and Types
--------------------------------------------------------------------------------
*/
/*
ABSTRACT DATA TYPES
*/
typedef OpaquePtr gxSpoolFile;
/*
DIALOG PANEL CONSTANTS AND TYPES
*/
typedef long gxPanelEvent;
/* Dialog panel event equates */
/* Constants for panel responses to dialog handler calls */
typedef long gxPanelResult;
/* Panel event info record for FilterPanelEvent and HandlePanelEvent messages */
typedef SOMLargeStruct gxPanelInfoRecord; /* Derived from a struct of 30 bytes in size */
/* Constants for the evtAction field in PanelInfoRecord */
/* Constants for the panelKind field in gxPanelSetupRecord */
typedef long gxPrintingPanelKind;
/* The gxPanelSetupInfo structure is passed to GXSetupDialogPanel */
typedef SOMLargeStruct gxPanelSetupRecord; /* Derived from a struct of 12 bytes in size */
/* Constants returned by gxParsePageRange message */
typedef long gxParsePageRangeResult;
/*
STATUS-RELATED CONSTANTS AND TYPES
*/
/* Structure for status messages */
typedef SOMLargeStruct gxStatusRecord; /* Derived from a struct of 19 bytes in size */
/* Constants for statusType field of gxStatusRecord */
/* Structure for gxWriteStatusToDTPWindow message */
typedef SOMLargeStruct gxDisplayRecord; /* Derived from a struct of 262 bytes in size */
/*-----------------------------------------------*/
/* paper mapping-related constants and types... */
/*-----------------------------------------------*/
typedef long gxTrayMapping;
/*
------------------------------------------------------------------------------
API Functions callable only from within message overrides
--------------------------------------------------------------------------------
*/
/*
Message Sending API Routines
*/
#if !GENERATINGPOWERPC
#endif
/*
How to use the GXPRINTINGDISPATCH macro...
If your driver or extension is large, you may want to segment it
across smaller boundaries than is permitted by the messaging system.
Without using the Printing Manager's segmentation manager directly,
the smallest segment you can create consists of the code to override
a single message. If you are overriding workhorse messages such as
RenderPage, you may want to divide up the work among many functions
distributed across several segments. Here's how...
The Printing Manager segment scheme involves the construction of a
single 32-bit dispatch selector, which contains all the information
necessary for the dispatcher to find a single routine. It contains the
segment's resource ID, and the offset within the segment which contains
the start of the routine. The GXPRINTINGDISPATCH macro will construct the
dispatch selector for you, as well as the code to do the dispatch.
Usually, it is convenient to start your segment with a long aligned jump table,
beginning after the 4 byte header required by the Printing Manager. The
macro assumes this is the case and takes a 1-based routine selector from
which it conmstructs the offset.
For example, if your code is in resource 'pdvr' (print driver), ID=2
at offset=12 (third routine in segment), you would declare your
routine as follows:
OSErr MyRenderingRoutine (long param1, Ptr param2)
= GXPRINTINGDISPATCH(2, 3);
Remember, ALL segment dispatches must return OSErr. If your routine
does not generate errors, you must still declare it to return OSErr
and have the routine itself return noErr.
An alternative way to call across segments is to call the GXPrintingDispatch
function directly. You must construct the 32-bit selector yourself and pass
it as the first parameter. This is usually not preferable since you don't get
type-checking unless you declare a prototype as shown above, and your code
isn't as easy to read.
So given the above prototype, there are two ways to call the function:
anErr = MyRenderingRoutine(p1, p2); // Free type checking!
or:
#define kMyRenderRoutineSelector 0x0002000C
anErr = GXPrintingDispatch(kMyRenderRoutineSelector, p1, p2); // No type-checking!
Both have the same effect.
*/
/*
------------------------------------------------------------------------------
Constants and types for Universal Printing Messages
--------------------------------------------------------------------------------
*/
/* Options for gxCreateSpoolFile message */
/* Options for gxCloseSpoolFile message */
/* Options for gxCreateImageFile message */
/* Options for gxBufferData message */
/* Structure for gxDumpBuffer and gxFreeBuffer messages */
typedef SOMLargeStruct gxPrintingBuffer; /* Derived from a struct of 9 bytes in size */
/* Structure for gxRenderPage message */
typedef SOMLargeStruct gxPageInfoRecord; /* Derived from a struct of 14 bytes in size */
/*
------------------------------------------------------------------------------
Universal Printing Messages
--------------------------------------------------------------------------------
*/
typedef OpaquePtr GXJobIdleProcPtr;
typedef OpaquePtr GXJobIdleUPP;
typedef OpaquePtr GXJobStatusProcPtr;
typedef OpaquePtr GXJobStatusUPP;
typedef OpaquePtr GXPrintingEventProcPtr;
typedef OpaquePtr GXPrintingEventUPP;
typedef OpaquePtr GXJobDefaultFormatDialogProcPtr;
typedef OpaquePtr GXJobDefaultFormatDialogUPP;
typedef OpaquePtr GXFormatDialogProcPtr;
typedef OpaquePtr GXFormatDialogUPP;
typedef OpaquePtr GXJobPrintDialogProcPtr;
typedef OpaquePtr GXJobPrintDialogUPP;
typedef OpaquePtr GXFilterPanelEventProcPtr;
typedef OpaquePtr GXFilterPanelEventUPP;
typedef OpaquePtr GXHandlePanelEventProcPtr;
typedef OpaquePtr GXHandlePanelEventUPP;
typedef OpaquePtr GXParsePageRangeProcPtr;
typedef OpaquePtr GXParsePageRangeUPP;
typedef OpaquePtr GXDefaultJobProcPtr;
typedef OpaquePtr GXDefaultJobUPP;
typedef OpaquePtr GXDefaultFormatProcPtr;
typedef OpaquePtr GXDefaultFormatUPP;
typedef OpaquePtr GXDefaultPaperTypeProcPtr;
typedef OpaquePtr GXDefaultPaperTypeUPP;
typedef OpaquePtr GXDefaultPrinterProcPtr;
typedef OpaquePtr GXDefaultPrinterUPP;
typedef OpaquePtr GXCreateSpoolFileProcPtr;
typedef OpaquePtr GXCreateSpoolFileUPP;
typedef OpaquePtr GXSpoolPageProcPtr;
typedef OpaquePtr GXSpoolPageUPP;
typedef OpaquePtr GXSpoolDataProcPtr;
typedef OpaquePtr GXSpoolDataUPP;
typedef OpaquePtr GXSpoolResourceProcPtr;
typedef OpaquePtr GXSpoolResourceUPP;
typedef OpaquePtr GXCompleteSpoolFileProcPtr;
typedef OpaquePtr GXCompleteSpoolFileUPP;
typedef OpaquePtr GXCountPagesProcPtr;
typedef OpaquePtr GXCountPagesUPP;
typedef OpaquePtr GXDespoolPageProcPtr;
typedef OpaquePtr GXDespoolPageUPP;
typedef OpaquePtr GXDespoolDataProcPtr;
typedef OpaquePtr GXDespoolDataUPP;
typedef OpaquePtr GXDespoolResourceProcPtr;
typedef OpaquePtr GXDespoolResourceUPP;
typedef OpaquePtr GXCloseSpoolFileProcPtr;
typedef OpaquePtr GXCloseSpoolFileUPP;
typedef OpaquePtr GXStartJobProcPtr;
typedef OpaquePtr GXStartJobUPP;
typedef OpaquePtr GXFinishJobProcPtr;
typedef OpaquePtr GXFinishJobUPP;
typedef OpaquePtr GXStartPageProcPtr;
typedef OpaquePtr GXStartPageUPP;
typedef OpaquePtr GXFinishPageProcPtr;
typedef OpaquePtr GXFinishPageUPP;
typedef OpaquePtr GXPrintPageProcPtr;
typedef OpaquePtr GXPrintPageUPP;
typedef OpaquePtr GXSetupImageDataProcPtr;
typedef OpaquePtr GXSetupImageDataUPP;
typedef OpaquePtr GXImageJobProcPtr;
typedef OpaquePtr GXImageJobUPP;
typedef OpaquePtr GXImageDocumentProcPtr;
typedef OpaquePtr GXImageDocumentUPP;
typedef OpaquePtr GXImagePageProcPtr;
typedef OpaquePtr GXImagePageUPP;
typedef OpaquePtr GXRenderPageProcPtr;
typedef OpaquePtr GXRenderPageUPP;
typedef OpaquePtr GXCreateImageFileProcPtr;
typedef OpaquePtr GXCreateImageFileUPP;
typedef OpaquePtr GXOpenConnectionProcPtr;
typedef OpaquePtr GXOpenConnectionUPP;
typedef OpaquePtr GXCloseConnectionProcPtr;
typedef OpaquePtr GXCloseConnectionUPP;
typedef OpaquePtr GXStartSendPageProcPtr;
typedef OpaquePtr GXStartSendPageUPP;
typedef OpaquePtr GXFinishSendPageProcPtr;
typedef OpaquePtr GXFinishSendPageUPP;
typedef OpaquePtr GXWriteDataProcPtr;
typedef OpaquePtr GXWriteDataUPP;
typedef OpaquePtr GXBufferDataProcPtr;
typedef OpaquePtr GXBufferDataUPP;
typedef OpaquePtr GXDumpBufferProcPtr;
typedef OpaquePtr GXDumpBufferUPP;
typedef OpaquePtr GXFreeBufferProcPtr;
typedef OpaquePtr GXFreeBufferUPP;
typedef OpaquePtr GXCheckStatusProcPtr;
typedef OpaquePtr GXCheckStatusUPP;
typedef OpaquePtr GXGetDeviceStatusProcPtr;
typedef OpaquePtr GXGetDeviceStatusUPP;
typedef OpaquePtr GXFetchTaggedDataProcPtr;
typedef OpaquePtr GXFetchTaggedDataUPP;
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
typedef OpaquePtr GXGetDTPMenuListProcPtr;
typedef OpaquePtr GXGetDTPMenuListUPP;
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
typedef OpaquePtr GXDTPMenuSelectProcPtr;
typedef OpaquePtr GXDTPMenuSelectUPP;
typedef OpaquePtr GXHandleAlertFilterProcPtr;
typedef OpaquePtr GXHandleAlertFilterUPP;
typedef OpaquePtr GXJobFormatModeQueryProcPtr;
typedef OpaquePtr GXJobFormatModeQueryUPP;
typedef OpaquePtr GXWriteStatusToDTPWindowProcPtr;
typedef OpaquePtr GXWriteStatusToDTPWindowUPP;
typedef OpaquePtr GXInitializeStatusAlertProcPtr;
typedef OpaquePtr GXInitializeStatusAlertUPP;
typedef OpaquePtr GXHandleAlertStatusProcPtr;
typedef OpaquePtr GXHandleAlertStatusUPP;
typedef OpaquePtr GXHandleAlertEventProcPtr;
typedef OpaquePtr GXHandleAlertEventUPP;
typedef OpaquePtr GXCleanupStartJobProcPtr;
typedef OpaquePtr GXCleanupStartJobUPP;
typedef OpaquePtr GXCleanupStartPageProcPtr;
typedef OpaquePtr GXCleanupStartPageUPP;
typedef OpaquePtr GXCleanupOpenConnectionProcPtr;
typedef OpaquePtr GXCleanupOpenConnectionUPP;
typedef OpaquePtr GXCleanupStartSendPageProcPtr;
typedef OpaquePtr GXCleanupStartSendPageUPP;
typedef OpaquePtr GXDefaultDesktopPrinterProcPtr;
typedef OpaquePtr GXDefaultDesktopPrinterUPP;
typedef OpaquePtr GXCaptureOutputDeviceProcPtr;
typedef OpaquePtr GXCaptureOutputDeviceUPP;
typedef OpaquePtr GXOpenConnectionRetryProcPtr;
typedef OpaquePtr GXOpenConnectionRetryUPP;
typedef OpaquePtr GXExamineSpoolFileProcPtr;
typedef OpaquePtr GXExamineSpoolFileUPP;
typedef OpaquePtr GXFinishSendPlaneProcPtr;
typedef OpaquePtr GXFinishSendPlaneUPP;
typedef OpaquePtr GXDoesPaperFitProcPtr;
typedef OpaquePtr GXDoesPaperFitUPP;
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
typedef OpaquePtr GXChooserMessageProcPtr;
typedef OpaquePtr GXChooserMessageUPP;
#endif
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
typedef OpaquePtr GXFindPrinterProfileProcPtr;
typedef OpaquePtr GXFindPrinterProfileUPP;
typedef OpaquePtr GXFindFormatProfileProcPtr;
typedef OpaquePtr GXFindFormatProfileUPP;
typedef OpaquePtr GXSetPrinterProfileProcPtr;
typedef OpaquePtr GXSetPrinterProfileUPP;
typedef OpaquePtr GXSetFormatProfileProcPtr;
typedef OpaquePtr GXSetFormatProfileUPP;
typedef OpaquePtr GXHandleAltDestinationProcPtr;
typedef OpaquePtr GXHandleAltDestinationUPP;
typedef OpaquePtr GXSetupPageImageDataProcPtr;
typedef OpaquePtr GXSetupPageImageDataUPP;
/*
******************************************************************
Start of old "GXPrintingErrors.h/a/p" interface file.
*******************************************************************
*/
/*RESULT CODES FOR QUICKDRAW GX PRINTING OPERATIONS*/
#endif
#endif /* __SOMIDL__ */
#endif /* __GXPRINTING_IDL__ */